package com.liuqi.aiagent.service;

import com.liuqi.aiagent.transfer.dto.AgentEditDto;
import com.liuqi.aiagent.transfer.dto.AgentPublishUpdateDto;
import com.liuqi.aiagent.transfer.dto.AgentSaveDto;
import com.liuqi.aiagent.transfer.model.Result;
import com.liuqi.aiagent.transfer.model.ResultList;
import com.liuqi.aiagent.transfer.vo.AgentInfoVo;
import com.liuqi.aiagent.transfer.vo.AgentVo;

/**
 * @author liuqi
 * @date 2025/7/16
 **/
public interface AgentService {

    Result save(AgentSaveDto agentSaveDto);

    Result edit(AgentEditDto agentEditDto);

    Result delete(Integer id);

    ResultList<AgentVo> findAll();

    Result publishUpdate(AgentPublishUpdateDto updateDto);

    Result<AgentInfoVo> info(Integer agentId);

    AgentInfoVo info(String agentName);

    ResultList<String> findEventMessages(Integer agentId);

}
